﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        public struct PersonStruct {
            public string name;
            public string dianhua;
            public int dizhi;



        }
        static void Main(string[] args)
        {
    
            PersonStruct p1 = new PersonStruct();
            p1.name = "呵呵";
            PersonStruct p2= new PersonStruct();
            p2.name = p1.name;
            p2.name = "傻傻";
            PersonClass p3 = new PersonClass();
            p3.Name = "思思";
            PersonClass p4 = new PersonClass();
            p4.Name = p3.Name;
            p4.Name = "所谓的哈";
            Console.WriteLine(p1.name);
            Console.WriteLine(p2.name);
            Console.WriteLine(p3.Name);
            Console.WriteLine(p4.Name);
            Console.ReadKey();

        }
    }
}
